﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Air_condition.DO;

namespace Air_condition.BU
{
    class AlternativeManager
    {
        public List<Alternative> lAlternative = new List<Alternative>();
        public void AddAlternative(Alternative alt)
        {
            lAlternative.Add(alt);
        }

        public void DeleteAlternative(Alternative alt)
        {
            lAlternative.Remove(alt);
        }

        #region CALCULATION
        public void CalculateImplement()
        {
            foreach (Alternative al in lAlternative)
            {
                al.CalculationSumColdProductivity();
            }
        }
        #endregion
    }
}
